home *** CD-ROM | disk | FTP | other *** search
/ MacHack 1997 / MacHack 1997.toast / Hacks / Hacks ’96 / Talking Telnet / source / Headers / string_resrcdefs.h < prev    next >
C/C++ Source or Header  |  1996-06-22  |  3KB  |  65 lines

  1. /*================================================================================*/
  2. /* String resource related #defines */
  3. #define SAVE_SET_STRINGS_ID        23239        /* NCSA Telnet-save-set keywords */
  4. #define SAVE_SET_STRINGS_COUNT     45
  5. #define AFF_WORDS_ID            23240        /* NCSA save-set file, affirmatives */
  6. #define AFF_WORDS_COUNT            13
  7. #define MSG_RESOURCE_ID         23227        /* ftp strings of interest */
  8.  
  9. #define NETERROR_RESOURCE_ID     23250        /* network errors */
  10. #define NETERROR_RESOURCE_COUNT 17            /* number of network errors */
  11. #define MEMERROR_RESOURCE_ID     23251        /* memory errors */
  12. #define MEMERROR_RESOURCE_COUNT 7            
  13. #define RESERROR_RESOURCE_ID     23253        /* resource errors */
  14. #define RESERROR_RESOURCE_COUNT 7    
  15.         
  16. #define    GENERAL_MESSAGES_ID        2000        // Misc. messages
  17. #define    PREFERENCES_PROBLEM        1            // Problem w/Prefs, should I attempt fix?
  18. #define RESOURCE_PROBLEM        2            // Vital resource missing from Telnet
  19. #define    NUKED_PREFS                3            // Unable to repair the prefs file
  20. #define    PREFS_ARE_NEWER_ID        4            // Prefs on disk are newer than those in memory
  21. #define    CANT_OPEN_MACTCP        5            // Error occured after OpenDriver("\p.IPP");
  22. #define REALLY_QUIT_QUESTION    6            // Really quit w/open connections?
  23. #define    CANT_CREATE_PREFS        7            // Error creating prefs file
  24. #define    NEED_HFS_ERR            8            // Telnet requires HFS
  25. #define    SYS_ENVIRON_ERR            9            // Wrong SysEnvirons version
  26. #define    SYSTEM_VERS_ERR            10            // Telnet requires at least System 6.0
  27. #define    ROM_VERS_ERR            11            // Telnet requires at least 128k ROMS
  28. #define    AE_PROBLEM_ERR            12            // Problem installing AppleEvent handlers
  29. #define CLOSE_ALL_WINDOWS_Q        13            // For Option-Command-W
  30. #define    OPFAILED_MESSAGES_ID    2001        // General messages when an operation fails
  31. #define    CANT_CREATE_FILE        1            // Can't create a file for some reason
  32. #define    CANT_OPEN_FILE            2            // Can't open a file
  33. #define    OUT_OF_MEMORY            3            // Not enough memory
  34. #define    BAD_SET_ERR                4            // Invalid keyword in set file
  35.  
  36. #define    MISC_STRINGS            2002        // Misc. internal strings
  37. #define    CAPTFILENAME            1            // Name of default capture file
  38. #define    MISC_NEWSESSION            2            // Default name for new session
  39. #define    MISC_NEWTERM            3            // Default name for new terminal
  40. #define    MISC_USERPRMPT            4            // For URL generated connections
  41. #define    MISC_PSWDPRMPT            5            // For URL generated connections
  42. #define CLOSE_ALL_MENU_ITEM        6            // For Option-Command-W menu item
  43. #define CLOSE_MENU_ITEM            7
  44. #define PICK_NEW_COLOR_STRING    8
  45. #define NONE_STRING                9
  46. #define SESSION_STRING            10
  47. #define OK_STRING                11
  48. #define CANCEL_STRING            12
  49. #define FTP_LOG_STRING            13
  50. #define SAVE_MACROS_STRING        14
  51. #define DEFAULT_MACRO_SET_NAME    15
  52. #define AWAITING_DISMISSAL_STRING 16
  53. #define BEING_OPENED_STRING        17
  54. #define BEING_LOOKED_UP            18
  55. #define SESSION_NAME_STRING        19
  56. #define SET_TO_LOAD_STRING        20
  57. #define SAVE_SET_STRING            21
  58. #define DEFAULT_SAVE_SET_NAME    22
  59. #define SAVE_CAPTURED_TEXT_STRING    23
  60. #define PREVIOUS_SESSION_STRING    24
  61. #define NEXT_SESSION_STRING     25
  62.  
  63.  
  64. #define    DNR_MESSAGES_ID            2004        // DNR error messages
  65.